<script setup lang="ts">
import { RouterView } from 'vue-router'
</script>

<template>
  <div id="app">
    <router-view />
    <van-tabbar route>
      <van-tabbar-item replace to="/home" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/category" icon="cluster-o">分类</van-tabbar-item>
      <van-tabbar-item replace to="/worthToBuy" icon="discount">值得买</van-tabbar-item>
      <van-tabbar-item replace to="/cart" icon="shopping-cart-o">购物车</van-tabbar-item>
      <van-tabbar-item replace to="/center" icon="user-circle-o
    ">个人</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<style scoped>
#app {
  width: 375px;
  /* height: 999px;
  background-color: pink; */
}
</style>
